<label class="layui-form-label"><%=title%></label>
<div class="layui-input-block">
  <%for(var i = 0;i<=select.length-1;i++){%>
    <input type="checkbox" name="" title="<%=select[i]%>" lay-skin="primary"> 
  <%}%>
</div>